package com.sff.site.core {
	import flash.net.URLVariables;						

	public interface IPath {
		
		function toString() : String;
		
		function segments() : Array;

		function nodes( until : INode = null ) : Array;

		function makeRelative() : IPath;

		function toNode () : INode;

		function nodeExist() : Boolean;

		function makeAbsolute() : IPath;

		function append(path : String) : IPath;

		function isRoot() : Boolean;

		function getPath() : String;

		function getDevice() : String;

		function getParams() : URLVariables;

		function setParams( params : URLVariables ) : void;

		function clone() : void;

		function equals( path : IPath ) : Boolean;
		
		function diff( other : IPath ) : INode;
		
		function appendDefaults() : IPath;
		
		function cleanup() : IPath;
		
		function contain( path : IPath ) : Boolean;
	}
}
